package com.holyn.guofang.presenter.login;

import com.holyn.guofang.model.webhttp.wo.StatusWo;
import com.holyn.guofang.presenter.AbstractBasePresenterImp;
import com.holyn.guofang.presenter.BaseView;

/**
 * Created by Holyn on 2017/6/12.
 */
//约定得到密码
public class GetPasswordContract {
    public  static abstract class  Presenter extends AbstractBasePresenterImp {
        public Presenter(BaseView baseView) {
            super(baseView);
        }

        public abstract void  addViewListener(GetPasswordContract.View view);

        public abstract void postPasswordCode(Integer checkMethod, String equipmentCode, final int requestAction);
        public abstract void postChangePasswordCode(Integer checkMethod, String equipmentCode, String validCode,
                                                    String password, final int requestAction);

    }

    public interface View {
        void responseSuccess(Integer requestAction, StatusWo statusWo);
    }
}
